﻿#include "ISignalBridge.h"

using namespace CVV::Interface;
ISignalBridge *ISignalBridge::instance()
{
    static ISignalBridge instance;
    return &instance;
}

void ISignalBridge::setLoopIndex(int index)
{
    m_iLoopIndex = index;
}

int ISignalBridge::getLoopIndex() const
{
    return m_iLoopIndex;
}

void ISignalBridge::setLoopSize(int iSize)
{
    m_iLoopSize = iSize;
}

int ISignalBridge::getLoopSize() const
{
    return m_iLoopSize;
}

void ISignalBridge::setLocale(const QString &locale)
{
    m_strLocale = locale;
}

QString ISignalBridge::getLocale() const
{
    return m_strLocale;
}

ISignalBridge::ISignalBridge(QObject *parent)
    : QObject(parent)
    , m_iLoopIndex(0)
    , m_iLoopSize(0)
{

}

ISignalBridge::~ISignalBridge()
{

}
